<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-wdyReferrerReward-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">用户id：</label>
				<div class="col-sm-8">
					<input id="userId" name="userId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">直接充值：</label>
				<div class="col-sm-8">
					<input id="level1Recharge" name="level1Recharge" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">间接充值：</label>
				<div class="col-sm-8">
					<input id="level2Recharge" name="level2Recharge" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">三代充值：</label>
				<div class="col-sm-8">
					<input id="level3Recharge" name="level3Recharge" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">直接充值奖励：</label>
				<div class="col-sm-8">
					<input id="level1Reward" name="level1Reward" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">间接充值奖励：</label>
				<div class="col-sm-8">
					<input id="level2Reward" name="level2Reward" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">三代充值奖励：</label>
				<div class="col-sm-8">
					<input id="level3Reward" name="level3Reward" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">用户充值：</label>
				<div class="col-sm-8">
					<input id="userRecharge" name="userRecharge" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">团队充值：</label>
				<div class="col-sm-8">
					<input id="childrenRecharge" name="childrenRecharge" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">团队级别：</label>
				<div class="col-sm-8">
					<input id="teamLevel" name="teamLevel" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">团队奖励：</label>
				<div class="col-sm-8">
					<input id="teamReward" name="teamReward" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">级差奖励：</label>
				<div class="col-sm-8">
					<input id="levelDiffReward" name="levelDiffReward" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">加权分红奖励：</label>
				<div class="col-sm-8">
					<input id="shareProfit" name="shareProfit" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">排名：</label>
				<div class="col-sm-8">
					<input id="rank" name="rank" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">排名奖励：</label>
				<div class="col-sm-8">
					<input id="rankReward" name="rankReward" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">队长id：</label>
				<div class="col-sm-8">
					<input id="teamUserId" name="teamUserId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">统计日期：</label>
				<div class="col-sm-8">
					<input id="statisticDate" name="statisticDate" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">亲密好友：</label>
				<div class="col-sm-8">
					<input id="directChildrenCount" name="directChildrenCount" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">活跃好友：</label>
				<div class="col-sm-8">
					<input id="activeChildrenCount" name="activeChildrenCount" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">删除标志（0代表存在 1代表删除）：</label>
				<div class="col-sm-8">
					<input id="delFlag" name="delFlag" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">创建者：</label>
				<div class="col-sm-8">
					<input id="createBy" name="createBy" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">创建时间：</label>
				<div class="col-sm-8">
					<input id="createTime" name="createTime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">更新者：</label>
				<div class="col-sm-8">
					<input id="updateBy" name="updateBy" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">更新时间：</label>
				<div class="col-sm-8">
					<input id="updateTime" name="updateTime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注信息：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/wdyReferrerReward"
		$("#form-wdyReferrerReward-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-wdyReferrerReward-add').serialize());
	        }
	    }
	</script>
</body>
</html>
